package com.example.navigation.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import java.util.List;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class PlaceSearchResponse {
    private int status;
    private String message;
    private List<Place> results;
    private int total;
    
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Place {
        private String name;
        private String address;
        private Location location;
        private String uid;
        private String province;
        private String city;
        private String district;
        private String business;
        private String cityid;
        private String tag;
    }
    
    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Location {
        private double lat;
        private double lng;
    }
} 